Previous Book Contents Book Index Next

Inside Macintosh: Programming With JManager /
Chapter 2 - JManager Reference / JManager Functions
Utility Functions /


JMURLToFSS

Converts a Uniform Resource Locator (URL) into a Mac OS file system specification record (FSSpec).

OSStatus JMURLToFSS (JMSessionRef session, 
                     const char* urlString, 
                     FSSpec* spec);
session
The current session.
urlString
The URL string to be converted.
spec
A pointer to a file system specification record. Upon return, spec points to the converted URL.
function result
A result code. See "JManager Result Codes" (page 108) for a list of result codes that JManager may return in this field.
DISCUSSION
The URL string must follow the format file:///disk/dir1/.../dirN/file. Other formats cause the function to return the result code paramErr.

SEE ALSO
The JMFSSToURL function (page 93).

"Executing Java Applications" (page 31).


Previous Book Contents Book Index Next

© Apple Computer, Inc.
23 APR 1997